package com.aaa.ddd.service;

import com.aaa.pojo.Dept;
import com.aaa.pojo.PageSort;
import com.aaa.pojo.Users;
import com.github.pagehelper.Page;

import java.util.List;
import java.util.Map;

public interface UserService {
    Page findAllUser(PageSort var1);

    boolean findNoSameName(Users var1);

    boolean addUser(Users users);

    boolean deleteUserById(String[] var1);

    boolean resetPassword(Users var1);

    boolean updateUser(Users var1);

    List<Map<String, Object>> findAllUserInfoByName(Map var1);

    List<Dept> queryAllDept();

    Users selectById(Integer var1);

    boolean updateOneself(Users var1);
}
